← Back to issue list

Can't read lxd info with german locale

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1780061
Type
issue
State
open
Author
~neothethird
Labels
Created
2018-07-04 08:45:46.572707+00:00
Updated
2019-01-03 15:32:23.385828+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Snapcraft cleanbuild fails on my Ubuntu 18.04 machine with german locale because it fails to read the german output of lxc info. Log: neothethird@NeoTheLaptop:~/Code/ubports-installer$ snapcraft cleanbuild --target-arch amd64 Setting target machine to 'amd64' snapcraft-daily-next-donkey wird erstellt snapcraft-daily-next-donkey wird gestartet Stopping local:snapcraft-daily-next-donkey Failed to detect container architecture: The output from 'lxc info' could not be read: Name: snapcraft-daily-next-donkey Remote: unix:// Architektur: x86_64 Erstellt: 2018/07/04 08:41 UTC Status : Running Type: ephemeral Profile: default Pid: 28003 Ips: eth0: inet6 fe80::216:3eff:fec2:724d veth8BYWGX lo: inet 127.0.0.1 lo: inet6 ::1 Quellen: Prozesse: 5 CPU usage: CPU usage (in seconds): 0 Memory usage: Arbeitsspeicher (aktuell): 19.95MB Memory (peak): 22.56MB Network usage: eth0: Bytes empfangen: 340B Bytes gesendet: 176B Pakete empfangen: 2 Pakete gesendet: 2 lo: Bytes empfangen: 0B Bytes gesendet: 0B Pakete empfangen: 0 Pakete gesendet: 0 As you can see, the arch is returned correctly, but the output can not be parsed. Maybe snapcraft could also look at the arch that is passed as a command line argument and use that if it can't parse the output?

Evaluation history

No evaluation history available.